package day02;

import java.math.BigDecimal;
import java.math.BigInteger;

public class DataTypeDemo {
    public static void main(String[] args) {
        double d1=2.33d;
        BigDecimal bd=new BigDecimal("6.0");
        BigDecimal bd2=new BigDecimal("4.9");
        System.out.println(bd.subtract(bd2));
        System.out.println(bd2.negate());
        int d=2147483647;
        //long l1=d+1;
        long l1=d+1l;
        long l2=2147483648l;
        long l4=2;
        System.out.println(l1);
        System.out.println(l2);
        System.out.println(8/9);
        System.out.println(8/18);
      //  10000000 00000000 00000000 00000000
        //1000 1100101001101011 11111110
        //1000110010100110101111111110
        BigInteger ccc;
        System.out.println(Long.MAX_VALUE);
     //   System.out.println(Double.parseDouble("dsf"));
        System.out.println(1000000000L*3);
       // long year=365*24*60000*60*1000L;
        long year3=365L*24*60000*60*1000;
       // System.out.println(year);
        System.out.println("double精度");
        System.out.println(6.0-5.1);
        float f1=0.2f;
        boolean b1=true;
        if(l1>l2) {
            System.out.println(b1);
        }
        else {
            System.out.println("小于");
        }
        String s1="\u002d";
        String s2="\u0030";
        String s3="\u0048";
        String s4="\u0860";
        System.out.println(s1+"_"+s2+"_"+s3+"_"+s4);
        char c1=97;
        char c2=65;
        char c3=125;
        System.out.println(c1+c2+c3);
        long l11=67;
float f11=l11;
Long _long=new Long("1");
System.out.println(f11);//66.0
System.out.println(Long.bitCount(l11));


    }
}
